﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MaestraPrincipal.Master" AutoEventWireup="true" CodeBehind="uiFacturas.aspx.cs" Inherits="PresentacionWeb.uiFacturas" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style2
        {
            width: 277px;
        }
        .style3
        {
        }
        .style4
        {
            width: 295px;
        }
        .style5
        {
            width: 358px;
        }
        .style7
        {
            width: 277px;
            text-align: center;
            font-size: small;
            font-weight: 700;
        }
        .style9
        {
            width: 550px;
            text-align: center;
            font-weight: 700;
        }
        .style10
        {
            width: 550px;
        }
        .style11
        {
            width: 1074px;
            text-align: center;
            font-size: small;
            font-weight: 700;
        }
        .style12
        {
            width: 1074px;
        }
        .style13
        {
            font-size: medium;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table style="width:100%; border-color:#d8d8bf;">
        <tr>
            <td class="style11" rowspan="2">
                Aut. SRI<br />
                1109641779</td>
            <td class="style9" rowspan="2">
                PUNTO DE VENTA LACTEOS<br />
                RUC: 13133263<span class="style13">1</span>4001
                <br />
                Manabí - Ecuador</td>
            <td class="style7" colspan="2">
                Numero Factura</td>
        </tr>
        <tr>
            <td class="style2" colspan="2" align="center">
                <asp:TextBox ID="txtsucursal" runat="server" Width="55px">001</asp:TextBox>
&nbsp;
                <asp:TextBox ID="txtserie" runat="server" Width="55px">003</asp:TextBox>
&nbsp;<asp:TextBox ID="txtnumero" runat="server" Width="55px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style12">
                Nombre:</td>
            <td class="style2" colspan="3">
                <asp:TextBox ID="txt_nombre" runat="server" Height="33px" Width="495px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style12">
                Cédula/RUC:</td>
            <td class="style10">
                <asp:TextBox ID="txt_cedula" runat="server"></asp:TextBox>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button ID="Button1" runat="server" Text="..." onclick="Button1_Click" />
            </td>
            <td class="style4">
                Teléfono:</td>
            <td>
                <asp:TextBox ID="txt_telefono" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style12">
                Dirección:</td>
            <td class="style10">
                <asp:TextBox ID="txt_direccion" runat="server"></asp:TextBox>
                <a href="uiGuardarCliente.aspx"><asp:Label ID="lbl_mensaje" runat="server">
                
                </asp:Label></a>
            </td>
            <td class="style4">
                Fecha:</td>
            <td>
                <asp:TextBox ID="txt_fecha" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style12">
                Id_Cliente:</td>
            <td class="style10">
                <asp:TextBox ID="txt_id_cliente" runat="server"></asp:TextBox>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button ID="Button4" runat="server" onclick="Button4_Click" 
                    Text="Guardar Cabecera" />
            </td>
            <td class="style4">
                <asp:Label ID="Esperandoo" runat="server"></asp:Label>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style12">
                &nbsp;</td>
            <td class="style10">
                &nbsp;</td>
            <td class="style4">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style12">
                &nbsp;</td>
            <td class="style10">
                &nbsp;</td>
            <td class="style4">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style12">
                &nbsp;</td>
            <td class="style10">
                <asp:Literal ID="Literal1" runat="server"></asp:Literal>
            </td>
            <td class="style4">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style12">
                &nbsp;</td>
            <td class="style10">
                <asp:Button ID="Button3" runat="server" onclick="Button3_Click" 
                    Text="Factura" />
            </td>
            <td class="style4">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style12">
                Cajero/a:</td>
            <td class="style10">
                <asp:DropDownList ID="DropDownList1" runat="server" 
                    onselectedindexchanged="DropDownList1_SelectedIndexChanged">
                </asp:DropDownList>
            </td>
            <td class="style4">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <table style="width: 140%;">
        <tr>
            <td align="center" colspan="2" style="color: #800000">
                INGRESAR DATOS</td>
        </tr>
        <tr>
            <td class="style3" style="color: #800000">
                <asp:Button ID="Button5" runat="server" onclick="Button5_Click" 
                    Text="Buscar Cabecera Factura" />
            </td>
            <td style="color: #800000" class="style5">
                &nbsp;&nbsp;&nbsp;
                <asp:TextBox ID="txtbusacabecera" runat="server" Width="80px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style3" style="color: #800000">
                id Cabecera:</td>
            <td style="color: #800000" class="style5">
                <asp:TextBox ID="txtidcabezerafactura" runat="server" Width="55px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style3" style="color: #800000">
                DESCRIPCCION:</td>
            <td style="color: #800000" class="style5">
                <asp:TextBox ID="txt_descripcion" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style3" style="color: #800000">
                CANTIDAD:</td>
            <td style="color: #800000" class="style5">
                <asp:TextBox ID="txt_cantidad" runat="server"></asp:TextBox>
                &nbsp;&nbsp;&nbsp;
                <asp:Button ID="btn_cargar" runat="server" onclick="btn_cargar_Click" 
                    Text="..." />
            </td>
        </tr>
        <tr>
            <td class="style3" style="color: #00FF00" align="center" colspan="2">
                <asp:Label ID="lbl_Mens" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style3" style="color: #800000">
                ID_PRODUCTO:</td>
            <td style="color: #800000" class="style5">
                <asp:TextBox ID="txt_idProducto" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style3" style="color: #800000">
                IVA(12%):</td>
            <td style="color: #800000" class="style5">
                <asp:TextBox ID="txt_iva" runat="server"></asp:TextBox>
&nbsp;&nbsp;&nbsp;
            </td>
        </tr>
        <tr>
            <td class="style3" style="color: #800000">
                PRECIO UNIT:</td>
            <td style="color: #800000" class="style5">
                <asp:TextBox ID="txt_precioUnit" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style3" style="color: #800000">
                TOTAL:</td>
            <td style="color: #800000" class="style5">
                <asp:TextBox ID="txt_total" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="center" class="style3" style="color: #800000">
                &nbsp;</td>
            <td align="center" style="color: #800000" class="style5">
                <asp:Button ID="Button2" runat="server" onclick="Button2_Click" 
                    Text="Guardar" />
            </td>
        </tr>
        <tr>
            <td align="center" class="style3" style="color: #800000">
                &nbsp;</td>
            <td align="center" style="color: #800000" class="style5">
                <asp:Label ID="Esperando" runat="server"></asp:Label>
            </td>
        </tr>
    </table>
</asp:Content>
